package com.css.zfzx.sjcj.modules.hddcWorkRegion.repository;

import com.css.zfzx.sjcj.modules.hddcWorkRegion.repository.entity.HddcWorkregionEntity;
import com.css.zfzx.sjcj.modules.hddcWorkRegion.viewobjects.HddcWorkregionQueryParams;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * @author zyb
 * @date 2020-11-30
 */
public interface HddcWorkregionNativeRepository<T> {
    <S extends T> Iterable<S> batchSave(Iterable<S> var1);
    Page<HddcWorkregionEntity> queryHddcWorkregions(HddcWorkregionQueryParams queryParams, int curPage, int pageSize,String sort,String order);

    List<HddcWorkregionEntity> exportYhDisasters(HddcWorkregionQueryParams queryParams);
}
